All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Port

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Port

public class Port
extends NativeObject
implements Coding
This class wraps the Objective-C class NSPort.


Constructor Index

 o Port()
This default constructor is equivalent to Objective-C's [[NSPort alloc] init].
 o Port(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Port(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o Port(int)
This constructor has the same effect as calling - initWithMachPort: on a newly allocated object.

Method Index

 o delegate()
A wrapper for the - delegate Objective-C instance method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o invalidate()
A wrapper for the - invalidate Objective-C instance method.
 o isValid()
A wrapper for the - isValid Objective-C instance method.
 o machPort()
A wrapper for the - machPort Objective-C instance method.
 o port()
A wrapper for the + port Objective-C class method.
 o portWithMachPort(int)
A wrapper for the + portWithMachPort: Objective-C class method.
 o reservedSpaceLength()
A wrapper for the - reservedSpaceLength Objective-C instance method.
 o sendBeforeDateWithComponents(Date, MutableArray, Port, int)
A wrapper for the - sendBeforeDate:components:from:reserved: Objective-C instance method.
 o setDelegate(Object)
A wrapper for the - setDelegate: Objective-C instance method.

Constructors

 o Port
 protected Port(boolean shouldAllocate,
                int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Port
 public Port()
This default constructor is equivalent to Objective-C's [[NSPort alloc] init].

 o Port
 public Port(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o Port
 public Port(int machPort)
This constructor has the same effect as calling - initWithMachPort: on a newly allocated object.

Methods

 o port
 public static native Port port()
A wrapper for the + port Objective-C class method.

 o portWithMachPort
 public static native Port portWithMachPort(int machPort)
A wrapper for the + portWithMachPort: Objective-C class method.

 o invalidate
 public native void invalidate()
A wrapper for the - invalidate Objective-C instance method.

 o isValid
 public native boolean isValid()
A wrapper for the - isValid Objective-C instance method.

 o machPort
 public native int machPort()
A wrapper for the - machPort Objective-C instance method.

 o setDelegate
 public native void setDelegate(Object anId)
A wrapper for the - setDelegate: Objective-C instance method.

 o delegate
 public native Object delegate()
A wrapper for the - delegate Objective-C instance method.

 o reservedSpaceLength
 public native int reservedSpaceLength()
A wrapper for the - reservedSpaceLength Objective-C instance method.

 o sendBeforeDateWithComponents
 public native boolean sendBeforeDateWithComponents(Date limitDate,
                                                    MutableArray components,
                                                    Port receivePort,
                                                    int headerSpaceReserved)
A wrapper for the - sendBeforeDate:components:from:reserved: Objective-C instance method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index